<?php
class schoolchilditemModel extends Model
{
	protected $_auto = array(
	array('updatetime','time',3,'function'),
	);
	
	protected $_validate = array(
		array('title','require','标题必需'),
		//array('schoolid','/[^-1]/','学院ID必需'),
		array('type','require','类型必需'),
		array('title','','标题重复','0','unique','1'),
	);
}